namespace hjc {

	export interface ISystem {
		enabled: boolean,
		concerns: Array<(new (...params: any[]) => Component) | any>,
		onFrame(param?: hjc.TimeParam): void,
	}

	export interface IComponent {
		enabled: boolean,
		entity: Entity,
		immediatePfc(): void,	//立即参与当前帧计算
		checkPfc(): boolean,	//判断是否参与system的当前帧计算"participate frame calculation"
	}
}